﻿@model _17bangMVC.Models.PasswordModel

@{
    ViewBag.Title = "忘了.一起帮";
}
<style>
    .field-validation-error {
        color: red;
        font-size: 12px;
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
    }

        .field-validation-error::before {
            content: '\f119';
        }
</style>

<h2>(｡ŏ_ŏ)忘了</h2>
<hr />

@using (Html.BeginForm())
{
    <label><b>Email：</b></label>
    @Html.TextBoxFor(m => m.Email, new
{
    @class = "form-control",
    placeholder = "注册时填写的Email地址"
})
    @Html.ValidationMessageFor(m => m.Email)
    <br />
    <label><b>通过用户名查找Email</b></label>
    @Html.TextBoxFor(m => m.Name, new
{
    @class = "form-control",
    placeholder = "必须全称，且不要忘记点击搜索按钮"
})
    <div class="input-group-append">
        <span class="input-group-text"><a href=""><span class="fa fa-search"></span></a></span>
    </div>
    <br />
    <label><b>验证码：（*必填）</b></label>
    @Html.TextBoxFor(m => m.Code, new
{
   @class = "form-control",
});
    <img src="~/Captcha/Get" />
    <span>点击输入框显示</span>
    @Html.ValidationMessageFor(m => m.Code)

    <br />
    <button type="submit" class="btn btn-primary">发送邮件</button>
    <button type="reset" class="btn btn-light">重置</button>
}
